package accounting.trade.model.service;

import java.sql.SQLException;
import java.util.List;

import org.json.JSONObject;

import accounting.customer.model.vo.CustomerVO;
import accounting.trade.model.vo.BlanceVO;
import accounting.trade.model.vo.IncomeVO;
import accounting.trade.model.vo.InfoListVO;
import accounting.trade.model.vo.ItemVO;
import accounting.trade.model.vo.ProductVO;
import accounting.trade.model.vo.TradeVO;
import accounting.trade.model.vo.WarehouseItemVO;
import accounting.trade.model.vo.WarehouseVO;
import accounting.utils.ListVO;

public interface TradeService {
	public void Trade_Info_insert(TradeVO vo, int item_quantity, String nc) throws SQLException;

	public List customerlist(String value) throws SQLException;

	public List warehouselist(String value) throws SQLException;

	public List itemlist(String value)throws SQLException;

	WarehouseItemVO getwareitem(int ware, int item) throws SQLException;

	InfoListVO getTradeInfo(String page) throws SQLException;

	void stockinput(double c_stock) throws SQLException;

	String getstock() throws SQLException;

	BlanceVO checkBlance(int item_code, int quantity) throws SQLException;

	IncomeVO getIncome(String time) throws SQLException;

}
